<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<script type="text/javascript">
function check(){
	var name = joinChk.name.value;
	var email = joinChk.email.value;
	
	if(!name.length){
		alert("이름를 입력하세요.");
		joinChk.name.focus();
		return false;
	}
	if(!email.length){
		alert("이메일를 입력하세요.");
		joinChk.email.focus();
		return false;
	}
	return true;
}
</script>

<h2 class="page_title"><strong>가입중복 확인</strong></h2>
<p>회원 가입시 적용되는 내용입니다. 정확하게 입력해주세요.</p>
<div class="joinChk">
	<form name="joinChk" action="joinchk.action" method="post">
		<p><label for="name">이&nbsp;&nbsp;&nbsp;름</label> : <input type="text" id="name" name="name" /></p>
		<p><label for="email">이메일</label> : <input type="text" id="email" name="email" style="ime-mode:disabled;" /></p>
		<p class="align_r">
		<input type="submit" value="확인" onclick="return check();"></p>
	</form>
</div>